<template>
  <c-form :inline="true" :form="form" ref="refForm"></c-form>
</template>

<script>
import Form from "@/components/Form.vue";
// import {subProcessForm} from "@/components/bpmn/components/bpmnPropertiesPanel/forms";
import {subProcessForm} from "../../forms";

export default {
  name: "Properties_SubProcess",
  components: {
    "c-form": Form
  },
  data() {
    return {
      form: subProcessForm.call(this)
    }
  },
  methods: {
    // 数据回填
    dataReset() {
      this.form.models.asynchronous = !!(this.businessObj?.async);
      this.form.models.monopoly = !!(this.businessObj?.exclusive);
    }
  }
}
</script>